package com.shelpe.services.sinbad.service;

import java.util.List;

import com.shelpe.services.sinbad.model.CampaignidAndKeywordids;
import com.shelpe.services.sinbad.model.Keyword;

public interface KeywordService {

	/**
	 * 获取所有数据 
	 * @param userId
	 * @return
	 */
	public List<Keyword> getKeywords(Long userId);
	
	/**
	 * 保存数据
	 * @param keyword
	 * @return
	 */
	public int save(Keyword keyword, Long userId);
	
	public int update(Keyword keyword, Long userId);
	
	public int delete(Long userId, String keywordIds);

	/**
	 * 获取关键词
	 * @param userId
	 * @param adgroupId
	 * @param campaignId
	 * @return
	 */
	public List<Keyword> getKeywords(Long userId, String adgroupId, String campaignId);
	
	public List<CampaignidAndKeywordids> getCampaignidAndKeywordids(Long userId, String keywordIds);
	
}
